package ru.rchervot.sanasar.client.view;

import ru.rchervot.sanasar.client.model.SearchResultsItem;
import ru.rchervot.sanasar.client.model.SearchResultsItemCandidates;

import com.google.gwt.event.shared.HandlerManager;

public class RecordSummaryCandidatesPresenter extends
		AbstractRecordSummaryPresenter {
	
	public interface Display extends AbstractRecordSummaryPresenter.Display {		
	}
	
	public RecordSummaryCandidatesPresenter(Display display,
			HandlerManager eventBus) {
		super(display, eventBus);
	}
	
	protected Display getDisplay() {
		return (Display)display;
	}
	
	@Override
	protected void renderItemDescription(SearchResultsItem itemDescription) {
		SearchResultsItemCandidates item = (SearchResultsItemCandidates)itemDescription;
		
		getDisplay().updateDisplay(item);
		
			
		
	}
}
